package com.dmap.knowledge.po;

import java.io.Serializable;

public class ArticleBrowseHistory implements Serializable {
    /**
     * 
     * 表字段 : article_browse_history.id
     */
    private Long id;

    /**
     * 文章id
     * 表字段 : article_browse_history.article_id
     */
    private Long articleId;

    /**
     * 用户id
     * 表字段 : article_browse_history.user_id
     */
    private Long userId;

    /**
     * 浏览时间
     * 表字段 : article_browse_history.browse_time
     */
    private Long browseTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table article_browse_history
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article_browse_history
     *
     * @mbggenerated
     */
    public ArticleBrowseHistory(Long id, Long articleId, Long userId, Long browseTime) {
        this.id = id;
        this.articleId = articleId;
        this.userId = userId;
        this.browseTime = browseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article_browse_history
     *
     * @mbggenerated
     */
    public ArticleBrowseHistory() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article_browse_history.id
     *
     * @return the value of article_browse_history.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article_browse_history.id
     *
     * @param id the value for article_browse_history.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article_browse_history.article_id
     *
     * @return the value of article_browse_history.article_id
     *
     * @mbggenerated
     */
    public Long getArticleId() {
        return articleId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article_browse_history.article_id
     *
     * @param articleId the value for article_browse_history.article_id
     *
     * @mbggenerated
     */
    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article_browse_history.user_id
     *
     * @return the value of article_browse_history.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article_browse_history.user_id
     *
     * @param userId the value for article_browse_history.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article_browse_history.browse_time
     *
     * @return the value of article_browse_history.browse_time
     *
     * @mbggenerated
     */
    public Long getBrowseTime() {
        return browseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article_browse_history.browse_time
     *
     * @param browseTime the value for article_browse_history.browse_time
     *
     * @mbggenerated
     */
    public void setBrowseTime(Long browseTime) {
        this.browseTime = browseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article_browse_history
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", articleId=").append(articleId);
        sb.append(", userId=").append(userId);
        sb.append(", browseTime=").append(browseTime);
        sb.append("]");
        return sb.toString();
    }
}